package com.usian.feign;

import com.usian.pojo.TbItem;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("usian-item-service")
@RequestMapping("service")
public interface ItemFeign {

    @RequestMapping("item/selectItemInfo")
    public TbItem selectItemInfo(@RequestParam("itemId")Long itemId);
}
